package com.itbupt.eat.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itbupt.eat.entity.Employee;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author BUPT-Dingchang
 * @Create 2024/4/20 21:38
 * ClassName: IEmployeeService
 * Description:
 */
public interface IEmployeeService extends IService<Employee> {

    // 分页查询+条件查询
    Page<Employee> getPage(Long currentPage, Long pageSize, String name);

    // 修改员工信息
    Boolean update(HttpServletRequest request, Employee employee);
}
